<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
  <link rel="stylesheet" href="./font/iconfont.css">
  <style>
    body {
      margin: 0;
      background: #eee;
    }
    a {
      text-decoration: none;
      color: #333;
    }
    nav {
      display: flex;
      height: 44px;
      background: #fff;
      justify-content: space-between;
      padding: 0 20px;
      box-sizing: border-box;
      padding-top: 2px;
    }
    nav a {
      font-size: 12px;
    }
    nav .iconfont {
      font-size: 22px;
    }

    nav a {
      display: flex;
      flex-direction: column;
      align-items: center;
    }
  </style>
</head>
<body>
  <nav>
    <a href="#">
      <i class="iconfont icon-shouye"></i>
      <span>首页</span>
    </a>
    <a href="#">
      <i class="iconfont icon-gouwuche"></i>
      <span>购物车</span>
    </a>
    <a href="#">
      <i class="iconfont icon-dingdan"></i>
      <span>订单列表</span>
    </a>
    <a href="#">
      <i class="iconfont icon-gerenzhongxin"></i>
      <span>我的淘宝</span>
    </a>
    <a href="#">
      <i class="iconfont icon-gengduo"></i>
      <span>更多</span>
    </a>
  </nav>
</body>
</html>